﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CalcAddInView;
using System.AddIn;
using System.AddIn.Pipeline;

namespace CalcAddInV1
{
    [AddIn("Calculator addin",Version="1.0.0.0")]
    public  class CalculatorAddInV1:ICalculator 
    {
        public double Add(double a, double b)
        {
            return a + b;
        }

        public double Substract(double a, double b)
        {
            return a - b;
        }

        public double Mitiply(double a, double b)
        {
            return a * b;
        }

        public double Divide(double a, double b)
        {
            return a / b;
        }

    }
}
